WordfenceLS\Controller_Whitelist B

Total Complexity 94
Dependencies 3
Dependents 4
Total lines 313
Lines of code 233
Logical lines of code 165
Comment lines 52
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
ip_in_range()
D
34 33 87
_expand_ipv6_range()
A
48 9 30
_is_valid_cidr_range()
A
56 10 15
_cidr_contains_ip()
A
49 9 29
_is_valid_bracketed_range()
A
52 9 23
_is_mixed_range()
S
58 8 14
_is_valid_linear_range()
S
62 6 10
is_whitelisted()
S
59 4 15
is_valid_range()
S
77 4 3
shared()
S
69 2 7